package com.diligent.cloud.sfc.model.detail;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * WoodenCase class
 * 打木箱工控屏信息
 *
 * @author xf107278
 * @date 6/11/2020
 */

@Data
@ToString
public class WoodenCaseDetailInfo {
    @ApiModelProperty(value = "同包装未完成工单")
    private Long samePackUndoneOrder;

    @ApiModelProperty(value = "同包装已完成工单")
    private Long samePackCompleteOrder;

    @ApiModelProperty(value = "当班匹配率")
    private Integer onDutyMatchRate;

    @ApiModelProperty(value = "同项目匹配率")
    private Integer sameProjectMatchRate;

    @ApiModelProperty(value = "当班库存")
    private Integer onDutyStock;

    @ApiModelProperty(value = "同项目库存")
    private Integer projectStock;

    @ApiModelProperty(value = "装箱标准")
    private Integer boxingStandard;

    @ApiModelProperty(value = "计划数量")
    private Integer requireDigit;

    @ApiModelProperty(value = "完工数")
    private Long completeDigit;

    @ApiModelProperty(value = "合格数")
    private Long goodDigit;

    @ApiModelProperty(value = "项目物料信息")
    private List<ProjectMat> projectMats;

    public static class ProjectMat {
        private String matCode;
        private Integer length;
        private Integer orderDigit;
        private Integer completeDigit;
        private Integer boxingDigit;

        public String getMatCode() {
            return matCode;
        }

        public void setMatCode(String matCode) {
            this.matCode = matCode;
        }

        public Integer getLength() {
            return length;
        }

        public void setLength(Integer length) {
            this.length = length;
        }

        public Integer getOrderDigit() {
            return orderDigit;
        }

        public void setOrderDigit(Integer orderDigit) {
            this.orderDigit = orderDigit;
        }

        public Integer getCompleteDigit() {
            return completeDigit;
        }

        public void setCompleteDigit(Integer completeDigit) {
            this.completeDigit = completeDigit;
        }

        public Integer getBoxingDigit() {
            return boxingDigit;
        }

        public void setBoxingDigit(Integer boxingDigit) {
            this.boxingDigit = boxingDigit;
        }
    }


}
